export default {
  path: '/mycustomer',
  component: () => import('@/views/layout'),
  meta: { scrollToTop: true },
  children: [
    // 直接重定向到意向客户  点我的客户 打开意向客户页面
    { path: '/mycustomer', redirect: '/mycustomer/intention' },
    {
      path: '/mycustomer',
      component: () => import('@/views/mycustomer'),
      // 三级路由
      children: [
        // 意向客户 路由
        { path: 'intention', component: () => import('@/views/mycustomer/components/intention') },
        // 成交记录 路由
        { path: 'deal', component: () => import('@/views/mycustomer/components/deal') },
        // 添加客户 路由
        { path: 'addIntention', component: () => import('@/views/mycustomer/components/addIntention') }
      ]
    }
  ]
}
